package com.pinda.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(value = "aggregation-service",url = "http://localhost:2001",path = "/pd-transport-trips")
public interface AggregationTripsFeign {




    @GetMapping("/queryTransportTripsByTransportLineId/{TransportLineId}")
    @ResponseBody
    List queryTransportTripsByTransportLineId(@PathVariable("TransportLineId") String TransportLineId);
}
